package com.zmn.oms.services.interfaces.quotation3;

import com.zmn.oms.model.entity.quotation3.OrderFault;
import com.zmn.oms.model.entity.quotation3.OrderFaultPhenomenon;

import java.util.List;

/**
 * @author sunlife
 * @date:2021/12/2 11:32 上午
 * description:
 */
public interface OrderFaultService {

    void insertList(List<OrderFault> faultList);

    List<OrderFault> listByOrderId(Long orderId);

    int deleteByOrderIdAndFaultIds(Long orderId, List<Integer> faultIds);

    int deleteByOrderId(Long orderId);

    int update(OrderFault orderFault);
}
